using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;

public partial class Webadmin_Top : System.Web.UI.Page
{
    public DataRow siteOption = null;
    public DataRow adminLang = null;
    protected void Page_Load(object sender, EventArgs e)
    {
        this.initSiteLang();
    }
    private void initSiteLang()
    {
        if (Session["Lang"] == null)
        {
            Session["Lang"] = "";
            Session["GroupUser"] = "";
            Session["AdminUser"] = "";
            Session["AdminLevel"] = "";
            Session["IP"] = "";
            Session["LoginID"] = "";
            Session["LoginTime"] = "";     
            
        }
        if (Session["Page"] == null)
        {
            Session["Page"] = bzStringClass.PreviewPath;
            Response.Redirect("Default.aspx");
        }
        Session["Lang"] = Request.QueryString["Lang"] == null ? Session["Lang"] : Request.QueryString["Lang"];
        Session["Lang"] = bzAdminLang.checkLang(Session["Lang"].ToString());
        this.adminLang = new bzAdminLang(Session["Lang"].ToString(),"Top").AdminLang;
               
    }
}
